package com.cskaoyan.javase.oop3._1interface._1basic;

import com.cskaoyan.javase.oop3._1interface._1basic.impl.IDemoImpl;

/**
 * 测试类
 *
 * @since 11:48
 * @author wuguidong@cskaoyan.onaliyun.com
 */
public class Demo {
    public static void main(String[] args) {
        System.out.println(IDemo.A);
        System.out.println(IDemoImpl.A);
        System.out.println(IDemoImpl.B);
        IDemoImpl demo = new IDemoImpl();
        demo.testDefault();

        IDemo.testStatic();
        // IDemoImpl.testStatic();

        IA a;
        // System.out.println(a.toString());

    }
}

interface IA {
    void test();

    int tes2t();

    String test3();

    void test4(int age);
}

interface IC {
    void test();

    int tes2t();

    String test3();

    void test4(int age);
}

abstract class AbstractA implements IA {
}

interface IB extends IA, IC {

}